/*
 *    Copyright (c) 2018-2025, boss All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the boss developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: boss
 */

package com.hopes.bizz.emergency.resources.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.hopes.bizz.common.core.annotation.ExcelDictImportValidate;
import com.hopes.bizz.common.core.annotation.ExcelDictValidate;
import com.hopes.boss.admin.api.resolver.DictResolver;
import com.hopes.boss.admin.api.resolver.enums.AdminDictEnum;
import com.hopes.boss.admin.api.resolver.enums.SysDictEnum;
import com.hopes.boss.common.entity.BaseLogicEntity;
import com.hopes.boss.common.entity.ExcelVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;

/**
 * 应急通讯录
 *
 * @author cx
 * @date 2024-01-12 15:39:27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ColumnWidth(30)
public class ErAddressBookExcelVO extends ExcelVO {

    private static final long serialVersionUID = 1L;


	/**
	 * 单位名称_id
	 */
	@ExcelProperty("单位名称")
	@NotBlank(message = "单位名称不能为空")
	@ExcelDictValidate(enumResolver = "sys_company")
	private String companyIdStr;



	/**
	 * 第一负责人
	 */
	@ExcelProperty("第一负责人")
	@NotBlank(message = "第一负责人不能为空")
	private String firstPerson;

	/**
	 * 第一负责人电话
	 */
	@ExcelProperty("第一负责人电话")
	@NotBlank(message = "第一负责人电话不能为空")
	private String firstPersonTelephone;

	/**
	 * 第一负责人手机
	 */
	@ExcelProperty("第一负责人手机")
	@NotBlank(message = "第一负责人手机不能为空")
	private String firstPersonMobilephone;

	/**
	 * 第二负责人
	 */
	@ExcelProperty("第二负责人")
	private String secondPerson;

	/**
	 * 第二负责人电话
	 */
	@ExcelProperty("第二负责人电话")
	private String secondPersonTelephone;

	/**
	 * 第二负责人手机
	 */
	@ExcelProperty("第二负责人手机")
	private String secondPersonMobilephone;

	/**
	 * 备注
	 */
	@ExcelProperty("备注")
	private String remarks;

	/**
	 * 是否使用
	 */
	@ExcelProperty("是否使用")
	@ExcelDictValidate(enumResolver = "yes_no_type")
	private String useFlagStr;
}